#ifndef VROUTE_INTERFACE_FILTERS_HPP_3
#define VROUTE_INTERFACE_FILTERS_HPP_3
#include "vroute_stack.hpp"
#include "vroute_IJob.hpp"
#include "vrouteErrors.hpp"
namespace vroute_stack
{
    Interface IFilter : public IJob
    {
    public:
        virtual ~IFilter(){};
        /*
         *
         */
        virtual int dofilter(char* content, int len, int index=0xffffffff) = 0;

        virtual int init(){return e_vroute_sucess;}

    //protected:
        IFilter(){}
        IFilter(const IFilter&){};
        IFilter& operator=(const IFilter& rhs){};
    };
}
#endif //VROUTE_INTERFACE_FILTERS_HPP_3